﻿using System;
using Kwan.Data.Mappings;
namespace BG.Data
{
    [Table("BG_AD LEFT OUTER JOIN BG_ADClass ON BG_AD.Cid = BG_ADClass.EntityID")]
    public interface IVAD
    {
        [ID]
        [IDENTITY]
        int EntityID { get; set; }


		[Column]
		int Cid { get; set; }
		[Column]
		string Click { get; set; }
		[Column]
		DateTime CreatedDate { get; set; }
		[Column]
		DateTime EndDate { get; set; }
		[Column]
		string Height { get; set; }
		[Column]
		string Hot { get; set; }
		[Column]
		string Image { get; set; }
		[Column]
		string Memo { get; set; }
		[Column]
		string Name { get; set; }
		[Column]
		string Path { get; set; }
		[Column]
		string Scale { get; set; }
		[Column]
		string Show { get; set; }
		[Column]
		string Sort { get; set; }
		[Column]
		DateTime StartDate { get; set; }
		[Column]
		string Title { get; set; }
		[Column]
		string Url { get; set; }
		[Column]
		string Width { get; set; }

        [Column("ZP_ADClass.ClassName")]
        string ClassName { get; set; }
    }
}